import request from '~/utils/request'

export default {
  getTeacherList() {
    return request({
      url: 'api/edu/teacher/list',
      method: 'get'
    })
  },
  getTeacherAndCourseById(id) {
    return request({
      url: `api/edu/teacher/getTeacherAndCourseByI/${id}`,
      method: 'get'
    })
  }
}
